import request from '@/utils/request'

const API = "/admin/dept"

export default{
    getDeptByHoscode(hoscode) {
        return request({
          url: `${API}/getDeptByHoscode/${hoscode}`,
          method: 'get'
        })
    }
} 